package com.yeyks.dal.dao;

import com.yeyks.dal.domain.VipInfo;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface VipInfoMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(VipInfo record);

    VipInfo selectByPrimaryKey(Integer id);

    List<VipInfo> selectAll();

    int updateByPrimaryKey(VipInfo record);

    void insertReturnId(VipInfo vipInfo);

    VipInfo selectVipInfoByUserIdAndType(@Param("id") Integer id, @Param("type") Integer type);
}